export const ITEM_KHZYHX = 1
export const ITEM_HPKHDZ = 2
export const ITEM_SXCJMN = 3
export const ITEM_QTCJMN = 4
export const ITEM_LXJKZ = 5
export const ITEM_QTGNWDX = 6
export const ITEM_FXYBDX = 7
export const ITEM_SWGLQTGN = 8
export const ITEM_DYCXSJY = 9
export const ITEM_DYCGKSL = 10
export const ITEM_DMJYHX = 11
export const ITEM_QYTY = 12
export const ITEM_TSLJ = 13

export const DIALOG_TYPES = new Map([
  [ITEM_KHZYHX, 'KhzyhxDialog'],
  [ITEM_HPKHDZ, 'HpkhdzDialog'],
  // [ITEM_KJDXZA, 'KjdxzaDialog'],
  [ITEM_SXCJMN, 'SxcjmnDialog'],
  [ITEM_QTCJMN, 'QtcjmnDialog'],
  [ITEM_LXJKZ, 'LxjkzDialog'],
  [ITEM_QTGNWDX, 'QtgnwdxDialog'],
  [ITEM_FXYBDX, 'FxybdxDialog'],
  [ITEM_SWGLQTGN, 'SwglqtgnDialog'],
  [ITEM_DYCXSJY, 'DycxsjyDialog'],
  [ITEM_DYCGKSL, 'Dycgksldialog'],
  [ITEM_DMJYHX, 'DmjyhxDialog'],
  [ITEM_QYTY, 'QytyDialog'],
  [ITEM_TSLJ, 'TsljDialog']
])

// ITEM_NAMES is now fetched from backend and stored in vuex store
// export const ITEM_NAMES = new Map([
//   [ITEM_KHZYHX, '抗荷正压呼吸'],
//   [ITEM_HPKHDZ, 'HP抗荷动作'],
//   // [ITEM_KJDXZA, '空间定向障碍'],
//   [ITEM_SXCJMN, '视性错觉模拟'],
//   [ITEM_QTCJMN, '前庭错觉模拟'],
//   [ITEM_LXJKZ, '离心机空战'],
//   [ITEM_QTGNWDX, '前庭功能稳定性'],
//   [ITEM_FXYBDX, '飞行仪表定向'],
//   [ITEM_SWGLQTGN, '三维滚轮前庭功能'],
//   [ITEM_DYCXSJY, '低压舱迅速减压'],
//   [ITEM_DYCGKSL, '低压舱高空生理'],
//   [ITEM_DMJYHX, '地面加压呼吸'],
//   [ITEM_QYTY, '缺氧体验'],
//   [ITEM_TSLJ, '弹射离机']
// ])

// export const ITEM_NAMES = new Map([
//   [ITEM_KHZYHX, '训练1'],
//   [ITEM_HPKHDZ, '训练2'],
//   [ITEM_SXCJMN, '训练3'],
//   [ITEM_QTCJMN, '训练4'],
//   [ITEM_LXJKZ, '训练5'],
//   [ITEM_QTGNWDX, '训练6'],
//   [ITEM_FXYBDX, '训练7'],
//   [ITEM_SWGLQTGN, '训练8'],
//   [ITEM_DYCXSJY, '训练9'],
//   [ITEM_DYCGKSL, '训练10'],
//   [ITEM_DMJYHX, '训练11'],
//   [ITEM_QYTY, '训练12'],
//   [ITEM_TSLJ, '训练13']
// ]);

export const TSLJ_MNTQ = new Map([
  [0, '鸟撞'],
  [1, '地面障碍'],
  [2, '导弹命中'],
  [3, '电源故障'],
  [4, '大迎角失速'],
  [5, '飞控四级故障'],
  [6, '发动机舱起火'],
  [7, '起落架放不下'],
  [8, 'EPU系统故障'],
  [9, '应急液压泵故障'],
  [10, '液压系统1故障'],
  [11, '液压系统2故障'],
  [12, '迷航或位置不清'],
  [13, '发动机停车及空中开车'],
  [14, '发动机油门操纵失灵']
])

export const TSLJ_JYCS = new Map([
  [0, '加强弹射立即时机的训练'],
  [1, '加强弹射动作要领的训练'],
  [2, '继续保持']
])
export const TSGD = new Map([
  [0, '30cm'],
  [1, '70cm'],
  [2, '110cm'],
  [3, '150cm']
])

// 下肢蹬力检测
export const PASS_STATUS = new Map([
  [0, '不合格'],
  [1, '合格']
])

export const RATE_RESULTS = new Map([
  [0, '优秀'],
  [1, '良好'],
  [2, '合格'],
  [3, '不合格'],
  [4, '复训合格']
])

export const SKILL_LEVELS = new Map([
  [0, '熟练掌握'],
  [1, '掌握'],
  [2, '基本掌握'],
  [3, '不掌握']
])

// 曲线同步程度
export const SYNC_LEVELS = new Map([
  [0, '完全同步'],
  [1, '同步'],
  [2, '基本同步'],
  [3, '不同步']
])

// 神经反应分级
export const SJFY_LEVELS = new Map([
  [0, '0度'],
  [1, 'I度'],
  [2, 'II度'],
  [3, 'III度']
])

// 前庭功能分级
export const QTGN_LEVELS = new Map([
  [0, 'A'],
  [1, 'B'],
  [2, 'C'],
  [3, 'D'],
  [4, 'E']
])

